﻿using System;
using UnityEngine;

namespace JQMergeFramework
{
    public class LightControl: MonoBehaviour
    {
        public static LightControl I;

        [Header("装饰光")] public Light decorateLight;
        
        [Header("棋盘光")] public Light checkerboardLight;
        
        
        private void Awake()
        {
            I = this;
        }

        //设置灯光效果
        public void SetShowDecorateLight(bool isShow)
        {
            decorateLight.gameObject.SetActive(isShow);
        }
    }
}